<?php
//$this->breadcrumbs=array(
//	'Expedientes'=>array('index'),
//	$model->id,
//);


?>
<div style=" width: 41%; padding-top: 70px; float: right; position: absolute; height: 100%; top:20px; margin-left: 56%; "> 
<h4>Detalle del  expedientes Nro <?php echo $model->EXP_N.' - '.$model->EXP_A; ?> <br><?php echo $model->caratula; ?></h4>
<div style="padding-right: 5px; overflow-y: auto; height: 440px; ">
<table class="items table table-striped table-bordered table-condensed">
<thead>
	<tr>
               
		<th colspan="4">Nro</th>
		<th colspan="4">Año</th>
	</tr>

</thead>
	<tbody>
	<tr>
		<td colspan="4" ><?php echo $model->EXP_N; ?></td>
		<td colspan="4" ><?php echo $model->EXP_A; ?></td>
             
              
	</tr>
	</tbody>
        <thead>
	<tr>
               
		<th colspan="8">Caratula</th>
		
	</tr>

    </thead>
    <tbody>
	<tr>
		<td colspan="8" ><?php echo $model->caratula; ?></td>
	</tr>
	</tbody>
        
        <thead>
	<tr>
               	<th>Dpto.</th>
                <th>Circ.</th>
                <th>Chac.</th>
                <th>Qta.</th>
                <th>Fracc.</th>
                <th>Manz.</th>
                <th>Parc.</th>
		<th>Año</th>
	</tr> 
        </thead>
        <tbody>
	<tr>
		<td ><?php echo $model->DPTO; ?></td>
                <td ><?php echo $model->CIRCUN; ?></td>
                <td ><?php echo $model->SECCION; ?></td>
                <td ><?php echo $model->CHACRA; ?></td>
                <td ><?php echo $model->QUINTA; ?></td>
                <td ><?php echo $model->FRACCION; ?></td>
                <td ><?php echo $model->MANZ; ?></td>
                <td ><?php echo $model->PARCELA; ?></td>
                
                
	</tr>
	</tbody>
          <thead>
	<tr>
               	<th colspan="2">Fecha Inicio</th>
                <th colspan="2">Fecha Real</th>
                <th colspan="2">Estado</th>
                <th >Ubicacion</th>
                <th>Conciliado</th>
               
	</tr> 
        </thead>
        <tbody>
	<tr>
		<td colspan="2" ><?php echo $model->FechaInicio; ?></td>
                <td colspan="2"><?php echo $model->FECHAREAL; ?></td>
                <td colspan="2"><?php echo $model->EXP_E; ?></td>
                <td  ><?php echo $model->EXP_L; ?></td>
                <td ><?php echo $model->CONCILIADO; ?></td>
                
                
                
	</tr>
	</tbody>
        <thead>
	<tr>
               	<th>Superficie</th>
                <th colspan="3">Calle </th>
                <th colspan="2">Calle </th>
                <th >Frente </th>
                <th>Frente</th>
               
	</tr> 
        </thead>
        <tbody>
	<tr>
		<td ><?php echo $model->SUPTER;?></td>
                <td  colspan="3"><?php echo $model->CALLE1; ?></td>
                <td colspan="2"><?php echo $model->CALLE2; ?></td>
                <td ><?php  ?></td>
                <td ><?php  ?></td>
                
                
                
	</tr>
	</tbody>
        
       
        
</table>


 <?php
if(count($movimientos)>0){
?>
<h4>Movimientos</h4>
<table class="items table table-striped table-bordered table-condensed">
	<thead>
	<tr>
               
		<th>Movimiento.Feche</th>
		
	
		
	</tr>
          <?php
	foreach ($movimientos as $key => $mov) {
	?>
	<tr>
		
		<td><?php echo $mov->observacion; ?></td>
		
		
		
	</tr>
        
	<?php 
	}
} else{ echo 'no carga';} 
	?>
	</div>
</div>		


